package com.xuetang9.t9.hotel.beans;

import java.io.Serializable;

/**
 * @Classname EntryFood
 * @Description TODO
 * @Date 2020/2/24 15:44
 * @Created by ASUS
 */
public class EntryFood implements Serializable {
    private Long id;
    private Long foodId;
    private EFood food;
    private Integer count;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFoodId() {
        return foodId;
    }

    public void setFoodId(Long foodId) {
        this.foodId = foodId;
    }

    public EFood getFood() {
        return food;
    }

    public void setFood(EFood food) {
        this.food = food;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public EntryFood() {

    }

    public EntryFood( Long foodId, Integer count) {
        this.foodId = foodId;
        this.count = count;
    }

    @Override
    public String toString() {
        return "EntryFood{" +
                "id=" + id +
                ", foodId=" + foodId +
                ", food=" + food +
                ", count=" + count +
                '}';
    }
}
